﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Helper
{
    public class Alert
    {

        public static void jAlert(Control control, string mensagem)
        {
            ScriptManager.RegisterStartupScript(control, control.GetType(), "Alert", "alert('" + mensagem + "');", true);
        }
    }
}
